package cn.cheqi.recovery.background.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 楼栋表的实体类
 * </p>
 *
 * @author Robin
 * @since 2020-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_building")
public class Building implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 楼层表id
     */
    @TableId(value = "building_id", type = IdType.AUTO)
    private Long buildingId;

    /**
     * 小区名称
     */
    private String communityName;


    /**
     * 详细地址
     */
    private String detailAddress;

    /**
     * 楼栋信息
     */
    private String buildingInfo;

    /**
     * 这栋楼里面的单元信息
     */
    private String buildingFloor;

    /**
     * 小区id
     */
    private Long communityId;


}
